package com.ckx.feign;

import com.ckx.config.feign.FeignRequestInterceptor;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "baidu", url = "https://www.baidu.com", configuration = {FeignRequestInterceptor.class})
public interface BaiduApi {

    @GetMapping("/")
    String get();

}
